package com.danicsoft.daide.historian;

import com.danicsoft.daide.serverclient.Player;

public class ClientHistorian extends CommandHistorian {

	/**
	 * Construct a new ClientHistorian using a default console output.
	 */
	public ClientHistorian() {
		super();

	}

	/**
	 * Construct a new <code>ClientHistorian</code> using the given
	 * <code>Textbook</code> for output.
	 * 
	 * @param textbook
	 *        The textbook to output to.
	 */
	public ClientHistorian(Textbook textbook) {
		super(textbook);

	}

	/**
	 * Log an update that has happened to the client, for example, they have
	 * connected, or have recieved the map definition.
	 * 
	 * @param source
	 *        The client that generated the message.
	 * @param message
	 *        The update message.
	 */
	public void logUpdateMessage(Player source, String message) {
		logMessage(source, message, UPDATE);
	}

}
